<ion-view view-title="易联锁" hide-back-button="true">
  <ion-content>

  <ion-list>
      <ion-item class="margin-bottom-large item-icon-left item-icon-right">
        <i class="icon ion-ios-bell assertive"></i>
        系统通知<span class="badge badge-assertive">{{''}}</span>
        <i class="icon ion-ios-arrow-right"></i>
      </ion-item>
      
    <ion-item class="item item-divider margin-top-large">
    待付款订单
    </ion-item>

      <ion-item class="margin-bottom-large item-icon-left item-icon-right" ng-repeat="order in saleOrders | orderBy:'-order.date'" href="#sale/order-{{order._id}}">
        <i class="icon ion-ios-clock-outline royal"></i>
        
        <span>{{order.date | date:'yyyy-MM-dd hh:mm:ss'}}</span>
        <span ng-if="order.customer.name" class="item-note">{{order.customer.name}}</span>
        <i class="icon ion-ios-arrow-right "></i>
      </ion-item>

    <ion-item class="item item-divider margin-top-large">
    已付款订单
    </ion-item>

    <ion-item class="item-icon-left item-icon-right" ng-repeat="order in paidOrder | orderBy:'-order.date'" href="#sale/order-{{order._id}}">
        <i class="icon ion-ios-checkmark-outline balanced"></i>
        
        <span>{{order.date | date:'yyyy-MM-dd hh:mm:ss'}}</span>
        <span ng-if="order.customer.name" class="item-note">{{order.customer.name}}</span>
        <i class="icon ion-ios-arrow-right"></i>
      </ion-item>

    </ion-list>



  </ion-content>
</ion-view>